package com.ys.openapi.process;

import com.alibaba.fastjson.JSON;

import java.util.ArrayList;
import java.util.List;

/**
 * 传阅请求体
 */
public class RequestCirculateProcess {
    //{"workItemId":"7b10381820954f01a058442553543e2b","workflowInstanceId":"03997c8505e4410cae86393c0fb28938","activityCode":"Activity3","comment":"传阅说明",
    // "participantors":["2c2c80867ab40ee9017b005b1cf5239c"]}云枢上用户id
    private String workItemId="ad";
    private String workflowInstanceId="adsfa";
    private String activityCode="sdfgd";
    private String comment="adfs";
    List<String> participantors;

    public String getWorkItemId() {
        return workItemId;
    }

    public void setWorkItemId(String workItemId) {
        this.workItemId = workItemId;
    }

    public String getWorkflowInstanceId() {
        return workflowInstanceId;
    }

    public void setWorkflowInstanceId(String workflowInstanceId) {
        this.workflowInstanceId = workflowInstanceId;
    }

    public String getActivityCode() {
        return activityCode;
    }

    public void setActivityCode(String activityCode) {
        this.activityCode = activityCode;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public List<String> getParticipantors() {
        return participantors;
    }

    public void setParticipantors(List<String> participantors) {
        this.participantors = participantors;
    }

    public static void main(String[] args) {
        RequestCirculateProcess rp=new RequestCirculateProcess();
        List<String>list=new ArrayList<>();
        list.add("ddd");
        list.add("dddddd");
        rp.setParticipantors(list);
        System.out.println(JSON.toJSONString(rp));
    }
}
